Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODDraft


IsValidID

The IsValidID method returns a Boolean value that indicates whether the specified object ID is valid.

ODBoolean IsValidID (in ODID id);
id
The object ID.
return value
kODTrue if the specified object ID is valid, otherwise kODFalse.
DISCUSSION
You should call this method after the end of a cloning transaction and before using an ID returned by the Clone or WeakClone method during that transaction.

The id parameter is an ID returned by the Clone or WeakClone method during the recent cloning transaction. If the corresponding object was not strongly cloned during the transaction, the ID is now invalid and should not be used.

SEE ALSO
The ODID type (page 899).
The ODDraft::Clone method (page 162).
The ODDraft::WeakClone method (page 185).
"EndClone" on page 325 in OpenDoc Programmer's Guide.
"Reading Links for Data Transfer" on page 395 in OpenDoc Programmer's Guide.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help